
<template>
  <div class="top">
    <div class="topTotalLeft"></div>
    <div class="topTotalRight">公司介绍</div>
    <div class="topTime">
      <span class="time1">{{ ymd }}</span>
      <span class="time2">{{ hms }}</span>
    </div>

    <div class="title">集团办公数据看板平台</div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      currentNav: '',
      ymd: '',
      hms: '',
    }
  },
  mounted() {
    this.getTimes()
  },
  methods: {
    getTimes() {
      this.ymd = this.util.timeFormat3(new Date().getTime())
      this.hms = this.util.timeFormat4(new Date().getTime())
      let timeOut = setTimeout(() => {
        window.clearTimeout(timeOut)
        this.getTimes()
      }, 1000)
    },
  },
}
</script>
<style scoped lang='less'>
.top {
  position: relative;
  width: 100%;
  height: 83px;
  background-image: url(../../../../assets/chartBg/FinanceBoard6.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  .topTotalLeft {
    position: absolute;
    bottom: 0;
    left: 80px;
    font-size: 26px;
    font-weight: bold;
    color: #15bec6;
  }

  .topTotalRight {
    top: 55px;
    position: absolute;
    bottom: 0;
    right: 80px;
    font-size: 26px;
    font-weight: bold;
    color: #15bec6;
  }

  .topTime {
    position: absolute;
    right: 300px;
    top: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    .time1 {
      font-size: 18px;
      font-weight: 400;
      color: #f6f6f6;
      opacity: 0.5;
    }
    .time2 {
      margin-left: 30px;
      font-size: 20px;
      font-weight: 400;
      color: #f6f6f6;
    }
  }

  .title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: 36px;
    font-weight: 400;
    color: #e9f2f9;
  }
}
</style>
